package com.example.jd_flutter;

import androidx.annotation.NonNull;

import com.example.jd_flutter.jdPlugin.JDPlugin;

import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engine.FlutterEngine;

public class MainActivity extends FlutterActivity {
    public JDPlugin currentPlugin;
    @Override
    public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) {
        super.configureFlutterEngine(flutterEngine);

        flutterEngine.getPlugins().add(new com.example.jd_flutter.jdPlugin.JDPlugin(this));
    }
}
